Skip to main content

FlowUniqueIdCreator

The FlowUniqueIdCreator class is responsible for generating unique IDs based on a specified template and setting the value in a variable.

Properties

NameDescription
CaptionThe caption dictionary representing localized captions for the flow object.
TemplateNameThe name of the template used to generate the unique ID.
TemplateIdThe ID of the template used to generate the unique ID.
VariableKeyThe key of the variable where the generated unique ID is stored.
KeyA unique identifier for the workflow step.
TemplateValueThe value generated from the template for the unique ID.
VariableNameThe name of the variable where the generated unique ID is stored.
NameName for the workflow step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
TypeCodeThe type code associated with the flow object.

Constructors

NameDescription
FlowUniqueIdCreator(name, workflowData, workflowCodeInstance)Constructor for the FlowUniqueIdCreator class. Initializes a new instance of the FlowUniqueIdCreator class.
FlowUniqueIdCreator(name, workflowData, workflowCodeInstance)Constructor for the FlowUniqueIdCreator class. Initializes a new instance of the FlowUniqueIdCreator class.

Methods

NameDescription
CreateUniqueId()Creates a unique ID based on the template and stores it in the specified variable.
Initialize()Initializes the flow unique ID creator. This method is an implementation of the abstract Initialize method from the base class.

Events

NameDescription
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.